#header
  display: flex
  justify-content: center
  width: 100%
  height: 40px
  background-color: #333
  .center
    width: 1226px
    height: 40px
    flex-shrink: 0
    display: flex
    justify-content: space-between
    align-items: center
    ul
      li
        a
          display: flex
          align-items: center
          height: 12px
          font-size: 12px
          color: #b0b0b0
          padding: 0 8px
          border-right: 1px solid #b0b0b0

        &:last-of-type
          a
            border-right: none
    .fl
      flex-shrink: 0
      display: flex
      width: 612px
    .fr
      display: flex
      height: 40px
      .user
        width: 120px
        height: 40px
        line-height 40px
        font-size 12px
        text-align: center
        position relative
        &:hover
          .username
            color:#ff6700
            background-color: #fff
          .selector
            padding: 7px 0
            height 120px
        .username
          display: block
          width: 100%
          height: 100%
          line-height: 40px
          color: #b0b0b0
          position relative
          z-index 201
        .selector
          position absolute
          left 0
          top 40px
          width: 100%
          z-index 200
          box-shadow 0 2px 10px rgba(0,0,0,0.15)
          height: 0
          background-color: #fff
          overflow hidden
          transition all 0.2s
          li
            width 100%
            height 30px
            &:hover
              a
                color:#ff6700
                background-color: #fafafa
            a
              display: block
              width 100%
              height 100%
              line-height: 30px
              padding: 0
              border 0

      >ul
        display: flex
        align-items: center
        height: 100%
      .shopcart
        display: flex
        width: 120px
        font-size: 12px
        color: #fff
        margin: 0 20px
        justify-content: center
        align-items: center
        background-color: #ff6700



#add_success
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  #nav
    width: 100%
    height: 100px
    flex-shrink: 0
    position relative
    .banner_x
      width: 1226px
      height: 100%
      display flex
      & > a
        display: block
        height: 100%
      .logo
        width: 50px
        text-indent: -10000px
        background: url("../image/nav/logo_top.png") no-repeat
        background-size: 100%
        background-position: center

      .gif
        width: 180px
        background: url("../image/nav/yyymix.gif") no-repeat
        background-size: 100%
        background-position: center

      .list
        display: flex
        height: 100%
        & > li
          display: flex
          align-items: center
          margin: 0 10px
          font-size: 16px
          &:hover
            a
              color: #ff6700

      .fr
        display: flex
        justify-content flex-end
        align-items: center
        height: 100%
        flex-grow 1
        .button
          box-sizing: border-box
          width: 50px
          height: 50px
          background-color: #fff
          border: 1px solid #ccc
          text-align: center
          line-height: 50px
          font-size: 18px
          font-weight: bold
          cursor: pointer
          &:active
            background-color: #ff6700
            color: #fff
        .search
          position relative
          .text
            box-sizing: border-box
            width: 250px
            height: 50px
            border: 1px solid #ccc
            padding: 0 10px
            &:focus
              outline: none
              border 1px solid #ff6700
              ~ .keyword_list
                display: block
          .search_hot
            position absolute
            top: 16px
            right: 12px
            a
              float left
              display block
              font-size 12px
              height 18px
              line-height 18px
              margin-left 5px
              padding 0 5px
              background-color: #eee
              color #757575
              transition all .2s
              &:hover
                color #fff
                background-color: #ff6700
          .keyword_list
            display none
            position absolute
            top: 50px
            left: 0
            z-index 100
            width 250px
            box-sizing border-box
            border 1px solid #ff6700
            li
              position relative
              box-sizing border-box
              width: 100%
              height 30px
              padding 6px 15px
              background-color: #fff
              &:hover
                background-color: #fafafa
              a
                display block
                width 100%
                height 100%
                font-size 12px
                .result
                  float: right
                  color: #b0b0b0


  .w
    width 1210px
    margin 0 auto
    background-color: #f5f5f5;
    .m
      overflow hidden
      zoom 1
      width 1210px
      height 127px
    .succeed-box
      .success-cont
        display inline-block
        display block
        font-family "Microsoft YaHei"
        .success-lcol
          float left
          .success-top
            position relative
            padding-left 35px
            margin 20px 0
            .succ-icon
              position absolute
              top 0
              left 0
              display block
              width 25px
              height 25px
              overflow hidden
              background url(//misc.360buyimg.com/user/cart/widget/addtocart-201608/i/addtocart-icons.png) 0 0 no-repeat
            h3
              font-size 18px
              line-height 25px
              font-weight 400
              color #71b247
          .p-item
            width 592px
            height 62px
            .p-img
              float left
              width 60px
              margin-right 10px
              border 1px solid #e8e8e8
            .p-info
              float left
              width 520px
              margin 0
              .p-name
                width 100%
                line-height 28px
                overflow hidden
                text-overflow ellipsis
                white-space nowrap
                font-size 14px
                a
                  color #333
                  text-decoration none
                  display inline-block
                  &:hover
                    color red
              .p-extra
                display inline-block
                color #aaa
                .txt
                  float left
                  max-width 135px
                  margin-right 5px
                  overflow hidden
                  text-overflow ellipsis
                  white-space nowrap
            .clr
              display block
              overflow hidden
              clear both
              height 0
              line-height 0
              font-size 0
        .success-btns
          float right
          font-size 0
          overflow hidden
          .success-ad
            float right
            height 70px
            width 106px
            margin 10px 0
            a
              display inline-block
              color #666
              text-decoration none
          .clr
            display block
            overflow hidden
            clear both
            height 0
            line-height 0
            font-size 0
          .bg_shop
            width 336px
            height 36px
            .btn-tobback
              padding 0 30px
              margin-right 10px
              background #fff
              color #e4393c
              border 1px solid #fff
              display inline-block
              height 34px
              line-height 36px
              font-size 16px
              vertical-align middle
              text-decoration none
              &:hover
                border 1px solid red
            .btn-addtocart
              position relative
              padding 0 30px
              padding-left 30px
              background #e4393c
              border 1px solid #e4393c
              color #fff
              display inline-block
              height 34px
              line-height 36px
              font-size 16px
              vertical-align middle
              text-decoration none
              b
                position absolute
                top 8px
                right 15px
                width 10px
                height 20px
                overflow hidden
                background url(//misc.360buyimg.com/user/cart/widget/addtocart-201608/i/addtocart-icons.png) -20px -81px no-repeat
              &:hover
                background #c91623



#footer
  width: 100%;
  height: 120px;
  line-height: 30px;
  text-align: center;
  font-size: 12px;
  background: rgb(250,250,250);
  padding: 30px 0;